import request from '@/utils/request'

// 采集数据
export function collectSubjectData(params) {
  return request({
    url: '/ysEtlAccount/collectSubjectData',
    method: 'GET',
    params
  })
}

// 采集数据2
export function collectAssetData(params) {
  return request({
    url: '/ysEtlAccount/collectAssetData',
    method: 'GET',
    params
  })
}

// 采集数据记录
export function getYsCollectionRecordList(params) {
  return request({
    url: '/ysEtlAccount/getYsCollectionRecordList',
    method: 'POST',
    data: params
  })
}

// 采集用友科目
export function collectSubjectDataYear(params) {
  return request({
    url: '/ysEtlAccount/collectSubjectData',
    method: 'GET',
    params
  })
}

